<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新增图书</title>
    <link rel="stylesheet" href="">
</head>

<body>
    <form>
        <table>
            <tr>
                <td>
                    书名:
                </td>
                <td>
                    <input type="text" name="bookName" value="{{books.bookName}}">
                </td>
            </tr>
            <tr>
                <td>
                    作者:
                </td>
                <td>
                    <input type="text" name="author" value="{{books.author}}">
                </td>
            </tr>
            <tr>
                <td>
                    时间:
                </td>
                <td>
                    <input type="text" name="publishedAt" value="{{books.publishedAt}}">
                </td>
            </tr>
            <tr>
                <td>
                    简介:
                </td>

                <td>
                    <input type="text" name="descriptions" value="{{books.descriptions}}">
                </td>
            </tr>
            <tr>
                <td>
                    <input type="button" value="取消" onclick="back()">
                </td>
                <td>
                    <input type="button" value="保存" onclick="bookAdd('{{books.id}}')">
                </td>
            </tr>
        </table>
    </form>
    <script src="/js/axios.min.js"></script>
    <script src="/js/booksAddOrEdit.js"></script>
</body>

</html>